import request from '@/utils/http'
import { BaseResult, PaginationResult } from '@/types/axios'

export class DashboardService {
  // 获取面板数据统计
  static getDashboard(params?: any) {
    return request.get<BaseResult<PaginationResult<any>>>({
      url: '/count_index',
      params
    })
  }
}
